package com.melon.service;

import com.melon.entity.admin.User;

import java.util.List;

/**
 * Created by zhiqi.shao on 2017/3/15.
 */
public interface UserService {

    public User save(User user);

    public User getUser(Long id);

    public User findUserByNamePswd(String username,String password);

    User findUserByUsername(String username);

    void  deleteUserById(Long id);

    List<User> findAll();
}
